/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.evzgaga.evzrecon.xmlrpc.client;

import java.util.TimeZone;
import org.apache.xmlrpc.client.XmlRpcClientConfig;
import org.apache.xmlrpc.common.XmlRpcStreamRequestConfig;

/**
 *
 * @author Bastien
 */
public class XmlRpcRawSocketClientConfig implements XmlRpcStreamRequestConfig, XmlRpcClientConfig {
    public final GbxRemoteConnection server;

    public XmlRpcRawSocketClientConfig(GbxRemoteConnection connection) {
        this.server = connection;
    }
    
    public boolean isEnabledForExtensions() {
        return false;
    }

    public TimeZone getTimeZone() {
        return TimeZone.getDefault();
    }

    public boolean isGzipCompressing() {
        return false;
    }

    public boolean isGzipRequesting() {
        return false;
    }

    public boolean isEnabledForExceptions() {
        return false;
    }

    public String getEncoding() {
        return "UTF-8";
    }
}
